package yns.base;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseController {

	public static final String main= "jsp/main";
	public static final String error= "error";
	public static final String success = "success";

	@RequestMapping(value = "/main")
	public String main() {
		return main;
	}
	
	@RequestMapping(value = "/error")
	public String error() {
		return error;	
	}
	
	@RequestMapping(value = "/success")
	public String success() {
		return success;	
	}
}
